+2004-02-24 Anders Carlsson <andersca@gnome.org>
+
+ * gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator):
+ Fix compilation (#135278, Padraig O'Briain).
+
2004-02-24 Anders Carlsson <andersca@gnome.org>
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
gtk_file_path_free (path);
}
+/* Inserts the bookmarks separator node */
+static void
+shortcuts_insert_separator (GtkFileChooserDefault *impl)
+{
+ GtkTreeIter iter;
+
+ gtk_list_store_insert (impl->shortcuts_model, &iter,
+ shortcuts_get_index (impl, SHORTCUTS_SEPARATOR));
+ gtk_list_store_set (impl->shortcuts_model, &iter,
+ SHORTCUTS_COL_PIXBUF, NULL,
+ SHORTCUTS_COL_PIXBUF_VISIBLE, FALSE,
+ SHORTCUTS_COL_NAME, NULL,
+ SHORTCUTS_COL_PATH, NULL,
+ -1);
+}
+
+/* Creates the GtkTreeStore used as the shortcuts model */
/* Updates the list of bookmarks */
static void
shortcuts_add_bookmarks (GtkFileChooserDefault *impl)
}
}
-/* Inserts the bookmarks separator node */
-static void
-shortcuts_insert_separator (GtkFileChooserDefault *impl)
-{
- GtkTreeIter iter;
-
- gtk_list_store_insert (impl->shortcuts_model, &iter,
- shortcuts_get_index (impl, SHORTCUTS_SEPARATOR));
- gtk_list_store_set (impl->shortcuts_model, &iter,
- SHORTCUTS_COL_PIXBUF, NULL,
- SHORTCUTS_COL_PIXBUF_VISIBLE, FALSE,
- SHORTCUTS_COL_NAME, NULL,
- SHORTCUTS_COL_PATH, NULL,
- -1);
-}
-
-/* Creates the GtkTreeStore used as the shortcuts model */
static void
create_shortcuts_model (GtkFileChooserDefault *impl)
{